package top.tenebrous.yzl.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.tenebrous.yzl.entity.TestNo;
import top.tenebrous.yzl.model.dto.TestNoDTO;

import java.util.List;

/**
 * @author yazhang6
 */
@Mapper
public interface TestNoMapper extends MPJBaseMapper<TestNo> {

    List<Integer> selectCode(@Param("orgId") String orgId);

    List<TestNoDTO> selectCodeByAreaCode(@Param("areaCode") String areaCode, @Param("defalutNum") Long defalutNum, @Param("offset") Long offset);

    String finalSolution(@Param("areaCode") String areaCode);
}
